<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglib.jsp"%>
<%@ page import="com.divine.wn.car.vo.BackUserVO"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>翔天信贷软件管理系统</title>
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/reset.css" />
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/main.css" />
<!--[if lte IE 6]><link rel="stylesheet" media="screen,projection" type="text/css" href="css/main-ie6.css" /><![endif]-->
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/style.css" />
<link rel="stylesheet" media="screen,projection" type="text/css"
	href="css/mystyle.css" />
<link href="css/grid/grid.css" type="text/css" rel="stylesheet"
	media="screen" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/aa.js"></script>
<script type="text/javascript" src="js/lodop.js"></script>
<object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0> 
	<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="install_lodop.exe"></embed>
</object> 
</head>
<body>
<html:form action="writeReceipt" method="post">
	<html:hidden property="callMethod"  styleId="callMethod"  value="submitUser" />
	<html:hidden property="toNotPay"  styleId="toNotPay"/>
	<div class="container_16 font12">
	<%@include file="/front/head.jsp" %>
	
	<div id="content"  class="row ireadonly">
  <div class="column grid_16">
   <h4 class="tit">客户基本资料</h4>
   <fieldset>
<legend>本人基本资料</legend>
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
  <tr>
    <td width="9%" style="text-align:right" >姓名:</td>
    <td width="16%"><nested:write property="userVO.user_name"/></td>
    <td width="9%" style="text-align:right">身份证:</td>
    <td width="16%"><nested:write property="userVO.user_sn"/></td>
    <td width="9%" style="text-align:right">联系方式:</td>
    <td width="16%"><nested:write property="userVO.user_phone"/></td>
    <td width="9%" style="text-align:right">工作单位:</td>
    <td ><nested:write property="userVO.user_workaddress" /></td>
  </tr>
   <tr>
    <td width="9%" style="text-align:right" >婚姻状况:</td>
    <td>
		<nested:equal value="1"  property="userVO.marry">
			已婚
		</nested:equal>
		<nested:equal value="0"  property="userVO.marry">
			未婚
		</nested:equal>
    
    </td>
    <td width="9%" style="text-align:right">所属区域:</td>
    <td>

		<nested:write  property="userVO.area"/>
</td>
    <td width="9%" style="text-align:right">家庭地址:</td>
    <td ><nested:write		property="userVO.user_address" /></td>
  </tr>
  
  
  
  
  </table>
  </fieldset>

		<nested:equal value="1"  property="userVO.marry">
  <fieldset>
<legend>配偶基本资料</legend>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
 
  <tr>
    <td width="9%" style="text-align:right" >姓名:</td>
    <td width="16%"><nested:write property="userVO.wife_name" /></td>
    <td width="9%" style="text-align:right">身份证:</td>
    <td width="16%"><nested:write property="userVO.wife_sn" /></td>
    <td width="9%" style="text-align:right">联系方式:</td>
    <td width="16%"><nested:write property="userVO.wife_phone"/></td>
    <td  width="9%" style="text-align:right">工作单位:</td>
    <td><nested:write	property="userVO.wife_workaddress"/></td>
  </tr>
  </table>
  </fieldset>
  	</nested:equal>
       <fieldset>
<legend>紧急联系人基本资料</legend>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
  <tr>
    <td  width="9%" style="text-align:right" >姓名:</td>
    <td width="16%"><nested:write property="userVO.friend_name" /></td>
    <td width="9%" style="text-align:right">身份证:</td>
    <td width="16%"><nested:write property="userVO.friend_sn"  /></td>
    <td width="9%" style="text-align:right">联系方式:</td>
    <td width="16%"><nested:write property="userVO.friend_phone" /></td>
    <td width="9%" style="text-align:right">工作单位:</td>
    <td><nested:write	property="userVO.friend_workaddress"/></td>
  </tr>
</table>
</fieldset>

<br />
  </div>
</div>
	
	
	<div id="content"  class="row">
  <div class="column grid_16">
   <h4 class="tit">车辆信息</h4>
		<table width="100%" >
			<tr>
				<th width="8%">车型</th>
				<th width="8%">车价</th>
				<th width="8%">车辆类型</th>
				<th width="5%">期限</th>
				<th width="8%">套餐</th>
				<th width="8%">预收</th>
				<th width="8%">客户审查费</th>
				<th>手续费</th>
				<th>抵押公证费</th>
				<th>担保费</th>
				<th>车队服务费</th>
				<th width="8%">GPS费用</th>
				<th>监管费</th>
				<th>保证金</th>
		
			</tr>
			<tr>
				<td><nested:write  property="userVO.car"/></td>
				<td><nested:write  property="userVO.jg"/></td>
				<td>
					&nbsp;&nbsp;&nbsp;<nested:write property="userVO.cllx"/>&nbsp;&nbsp;&nbsp;
		
				</td>
				<td>
				
					<nested:write property="userVO.qx"/>
			
				</td>
				<td>		
					<nested:write property="userVO.tc"/>
				</td>
				
				<td><nested:write property="userVO.ys"/>
				</td>
				<td><nested:write property="userVO.khscf"/></td>
				<td>
				<nested:write property="userVO.sxf"/></td>
				<td>
				<nested:write property="userVO.dygzf"/></td>
				<td><nested:write property="userVO.dbf"/></td>
				<td><nested:write property="userVO.cdfwf"/></td>
				<td><nested:write property="userVO.gpsf"/></td>
				<td><nested:write property="userVO.jgf"/></td>
				<td><nested:write property="userVO.bzj"/></td>
		
			</tr>
		</table>
		<br />
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
		  <tr>
		    <td width="15%" style="text-align:right" >首付款：</td>
		    <td width="10%" style="text-align:left" ><nested:write property="userVO.shoufu"/></td>
		    <td width="15%" style="text-align:right" >贷款额：</td>
		    <td width="10%" style="text-align:left" ><nested:write property="userVO.dke"/></td>
		    <td width="15%" style="text-align:right" >应交款：</td>
		    <td width="10%" style="text-align:left" ><nested:write property="userVO.yjk"/></td>
		    <td width="15%" style="text-align:right" >月供：</td>
		    <td style="text-align:left" ><nested:write property="userVO.mark"  /></td>
		    
		    
		  </tr>
		  <tr>
		  <td width="20%" >&nbsp;
		  
		  </td>
		   <td colspan="5">
		   应交款=首付款+预收+手续费+担保费+客户审查费+抵押公证费+监管费+车队服务费+GPS费+保证金
		  </td>
		  </tr>
		</table>
		
		
		</div>
		</div>

	<nested:notEmpty property="userVO.bxh">
			<div id="content"  class="row ireadonly">
			  <div class="column grid_16">
			   <h4 class="tit">车辆补充信息</h4>
			 	<fieldset>
				<legend>保险信息</legend>
				  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
				  <tr>
				    <td  width="9%" style="text-align:right" >保险号:</td>
				    <td width="16%"><nested:write property="userVO.bxh" /></td>
				    <td width="9%" style="text-align:right">办理时间:</td>
				    <td width="16%"><nested:write property="userVO.bxtime" /></td>
				    <td width="9%" style="text-align:right">办理公司:</td>
				    <td width="16%"><nested:write property="userVO.bxcompany" /></td>
				    <td width="9%" style="text-align:right">办理费用</td>
				    <td><nested:write property="userVO.bxmoney" /></td>
				  </tr>
				</table>
				</fieldset>	
				
				<fieldset>
				<legend>行驶证信息</legend>
				  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
				  <tr>
				    <td  width="9%" style="text-align:right" >行驶证号:</td>
				    <td width="16%"><nested:write property="userVO.xsz" /></td>
				    <td width="9%" style="text-align:right">办理时间:</td>
				    <td width="16%"><nested:write property="userVO.xstime" /></td>
				    <td width="9%" style="text-align:right">办理公司:</td>
				    <td width="16%"><nested:write property="userVO.xscompany" /></td>
				    <td width="9%" style="text-align:right">办理费用</td>
				    <td><nested:write property="userVO.xsmoney" /></td>
				  </tr>
				</table>
				</fieldset>	
				<nested:notEmpty property="userVO.yyz">
				<fieldset>
				<legend>营运证信息</legend>
				  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="nostyle">
				  <tr>
				    <td  width="9%" style="text-align:right" >营运证号:</td>
				    <td width="16%"><nested:write property="userVO.yyz" /></td>
				    <td width="9%" style="text-align:right">办理时间:</td>
				    <td width="16%"><nested:write property="userVO.yytime" /></td>
				    <td width="9%" style="text-align:right">办理公司:</td>
				    <td width="16%"><nested:write property="userVO.yycompany" /></td>
				    <td width="9%" style="text-align:right">办理费用</td>
				    <td><nested:write property="userVO.yymoney" /></td>
				  </tr>
				</table>
				</fieldset>	
				</nested:notEmpty>
			  </div>
			</div>

				<html:hidden property="over" value="1" />
			</nested:notEmpty>
	<br>
	<div style="text-align: center;">
					<input type="button" value="返回列表"  class="input-submit"  onclick="returnToList()"/>
			<nested:notEmpty property="userVO.dk3">
			<logic:equal value="1" name="buser" property="roleid" scope="session">
				&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" class="input-submit"  value="打印单据"  onclick="print()"/>[<b style="color: red;">重要：请在打印单据前<html:link href="install_lodop.exe">安装打印驱动</html:link></b>]		
			</logic:equal>
</nested:notEmpty>
				</div>
	
	<br>
	<logic:notEmpty name="logList">
	<div id="content"  class="row">
  <div class="column grid_16">
   <h4 class="tit">操作日志</h4>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">	 	 	 	 	 	 	 	
 <tr>
	<th width="15%">时间</th>
	<th width="20%">操作</th>
	<th width="15%">操作人联系方式</th>
	<th>备注</th>
</tr>


 <nested:iterate id="logVO" name="logList">
						<tr>
							<td>
<nested:write name="logVO" property="log_time"/>
							</td>
							<td style="text-align: left;"><nested:write name="logVO"
									property="log" /></td>
							<td style="text-align: left;"><nested:write name="logVO"
									property="phone" /></td>
							<td style="text-align: left;"><nested:write name="logVO"
									property="mark" />
							</td>


						</tr>
					</nested:iterate>

</table>
<br />
  </div>
</div>
	
	
	
	
			</logic:notEmpty>

	<br><br>
	
	<script type="text/javascript">
	var LODOP;
	function returnToList() {
			  window.history.go(-1);
			  return false;
		
		
	}
	
	
	
	$(document).ready(function(){
		ajaxAnywhere.showLoadingMessage = function() {}
	});
	
	
	function print(){
		LODOP=getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));  
		LODOP.SET_PREVIEW_WINDOW(1,1,0,740,600,"打印");//打印前弹出选择打印机的对话框
		LODOP.SET_PRINT_MODE("AUTO_CLOSE_PREWINDOW",1);//打印后自动关闭预览窗口
		LODOP.SET_SHOW_MODE("HIDE_PAPER_BOARD",1);
		LODOP.ADD_PRINT_TABLE( -15,30,711,180,"<table width='694' border='0' cellspacing='0' cellpadding='0' style='border-bottom:0'><tr><th style='font-weight:normal;'  height='63' colspan='2' align='left'>温馨提示：为了您的人身及车辆财产安全，请在保险生效后驾驶车辆！</th></tr><tr><th style='font-weight:normal;font:45px;' colspan='2'  align='center' ><strong>翔天汽车信贷报价单</strong></th></tr><tr><th width='70%' style='text-align:left;'>金融产品：<nested:write property='userVO.tc' /></th><th   align='right' style='font-weight:normal;font-size:18px;'><%=java.util.Calendar.getInstance().get(java.util.Calendar.YEAR)%>年<%=java.util.Calendar.getInstance().get(java.util.Calendar.MONTH)+1%>月<%=java.util.Calendar.getInstance().get(java.util.Calendar.DATE)%>日</th></tr></table>");
		LODOP.ADD_PRINT_TABLE(140,30,711,763,"<table width='694'  cellpadding='6' cellspacing='0' style='border-right:1px solid black; border-bottom:1px solid black;font-size:18px;font:bold;text-align:center;'><tr><td style='border-top:1px solid black;	border-left:1px solid black;'width='48'>客户姓名</td><td style='border-top:1px solid black;	border-left:1px solid black;'width='80'><nested:write property='userVO.user_name'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'width='39'>车型 </td><td style='border-top:1px solid black;	border-left:1px solid black;'width='77'><nested:write  property='userVO.car'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'width='49'>车价</td><td style='border-top:1px solid black;	border-left:1px solid black;'width='67'> <nested:write  property='userVO.jg'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'width='85'>贷款期限</td><td style='border-top:1px solid black;	border-left:1px solid black;'width='91'> <nested:write property='userVO.qx'/>年</td></tr><tr><td style='border-top:1px solid black;	border-left:1px solid black;'width='48'>首付比例</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><%=request.getAttribute("rate")%>%</td><td style='border-top:1px solid black;	border-left:1px solid black;'width='77'>首付款</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.shoufu'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'width='83'>贷款额</td><td style='border-top:1px solid black;	border-left:1px solid black;'width='91'><nested:write property='userVO.dke'/></td></tr><tr><td style='border-top:1px solid black;	border-left:1px solid black;font-weight:bold' colspan='2' ><h4>代收银行费用 </h4></td><td style='border-top:1px solid black;	border-left:1px solid black;font-weight:bold' colspan='2'><h4>收费金额</h4></td><td style='border-top:1px solid black;	border-left:1px solid black;font-weight:bold' colspan='2'><h4>公司费用</h4></td><td style='border-top:1px solid black;	border-left:1px solid black;font-weight:bold' colspan='2'><h4>收费金额</h4></td></tr><tr><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>保证金<br><div style='font-size:11px;'>（正常还款可退还）</div></td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.bzj'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>担保费</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.dbf'/></td></tr><tr><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>监管费</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.jgf'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>车队服务费</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.cdfwf'/></td></tr><tr><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>公证抵押费</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.dygzf'/></td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>手续费</td><td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.sxf'/></td>    </tr><tr>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>客审费</td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.khscf'/></td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>&nbsp;</td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>　</td>    </tr>    <tr>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>GPS</td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'><nested:write property='userVO.gpsf'/></td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>　            </td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='2'>　</td>    </tr>     <tr>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='4'>预收挂牌保险费用</td>      <td style='border-top:1px solid black;	border-left:1px solid black;'colspan='4'><nested:write property='userVO.ys'/> </td>    </tr>    <tr>      <td style='border-top:1px solid black;	border-left:1px solid black;'height='92' colspan='8'><div align='left'>       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首付款+代收银行费用+公司费用+预收车价10%挂牌保险费用<br />      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;（按国家标准收费多退少补）</div></td>    </tr>    <tr>      <td style='border-top:1px solid black;	border-left:1px solid black;' height='49' colspan='4'><div align='left'>合计小写：   <nested:write property='userVO.yjk'/>  元 </div></td><td style='border-top:1px solid black;'  colspan='4'>月供：<nested:write property='userVO.mark'/></td>    </tr>      <tr>      <td style='border-top:1px solid black;border-left:1px solid black;'height='82' colspan='8'>客户提供资料明细： 照片（夫妻双方各1张）、 户口簿（夫妻双方）、 身份证（夫妻双方）、结婚证（或单身证明）、收入证明、银行流水。</td>    </tr>    </table>");
		LODOP.ADD_PRINT_TABLE(780,30,711,240,"<table width='694' cellpadding='10' cellspacing='0' style='border:0; font-size:18px;font:bold;'>     <tr>  <td style='border:0;' >客户经理：</td>      <td style='border:0;' height='79' >银联部：                             </td>     <td  height='79' style='border:0;'>                                    客户签字：</td>    </tr>  <tr>    <td style='border:0;' >业务部：</td>    <td style='border:0;' height='79' >财务部：                             </td>     <td  height='79' style='border:0;'>                                   总经理签字：</td>    </tr>    <tr>      <td style='border:0;'height='35' colspan='3'>注：提车后须在5个工作日内上户，因客户原因造成延迟上户每天收取车价0.1%滞纳金。</td>    </tr>  </table>");
		LODOP.PREVIEW();
	}
		
	
</script>



	
	<br>
</html:form>


</body>
</html>